package user

import (
	"yanwc.gokit/user_svc/models"
	"yanwc.gokit/user_svc/service"
)

type LoginService interface {
	Login(loginName, password string, loginType models.LoginType, subSystemId int) (*service.LoginResult, error)
	LoginByUserNameAndPassword(loginName, password string) (*service.LoginResult, error)
}